package com.tfkj.vo;


import lombok.Data;

@Data
public class CommonReturn {
    private int code;
    private String msg;
    private int total;
    private Object data;

    public CommonReturn(Object object) {
        this.code = 200;
        this.data = object;
    }
    public CommonReturn(Object object, int total) {
        this.code = 200;
        this.data = object;
        this.total = total;
    }

    public CommonReturn(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
